[INFO] cloning repository https://github.com/Brayan-724/rust-reflection-poc
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Brayan-724/rust-reflection-poc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBrayan-724%2Frust-reflection-poc", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBrayan-724%2Frust-reflection-poc'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8e947407c32680cb7c6e727d765916efbfb29987
[INFO] fixing Brayan-724/rust-reflection-poc against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBrayan-724%2Frust-reflection-poc" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Brayan-724/rust-reflection-poc
[INFO] finished tweaking git repo https://github.com/Brayan-724/rust-reflection-poc
[INFO] tweaked toml for git repo https://github.com/Brayan-724/rust-reflection-poc written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Brayan-724/rust-reflection-poc on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Brayan-724/rust-reflection-poc already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] a278ef1634524efb800b36b6a5b11ffece36035543567bbf6a95b4b26b326b44
[INFO] running `Command { std: "docker" "start" "a278ef1634524efb800b36b6a5b11ffece36035543567bbf6a95b4b26b326b44", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a278ef1634524efb800b36b6a5b11ffece36035543567bbf6a95b4b26b326b44" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a278ef1634524efb800b36b6a5b11ffece36035543567bbf6a95b4b26b326b44", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a278ef1634524efb800b36b6a5b11ffece36035543567bbf6a95b4b26b326b44" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]     Checking unicode-ident v1.0.18
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]     Checking proc-macro2 v1.0.95
[INFO] [stderr]     Checking quote v1.0.40
[INFO] [stderr]     Checking reflection-macros v0.1.0 (/opt/rustwide/workdir/reflection-macros)
[INFO] [stderr]     Checking reflection v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: cannot find attribute `const_trait` in this scope
[INFO] [stdout]   --> src/lib.rs:36:3
[INFO] [stdout]    |
[INFO] [stdout] 36 | #[const_trait]
[INFO] [stdout]    |   ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::any`
[INFO] [stdout]  --> src/lib.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::any;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `const` can only be applied to `const` traits
[INFO] [stdout]   --> src/lib.rs:42:29
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub const fn named_field<T: const StructDefine>(field: &'static str) -> usize {
[INFO] [stdout]    |                             ^^^^^ can't be applied to `StructDefine`
[INFO] [stdout]    |
[INFO] [stdout] help: mark `StructDefine` as `const` to allow it to have `const` implementations
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub const trait StructDefine {
[INFO] [stdout]    |     +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `const` can only be applied to `const` traits
[INFO] [stdout]   --> src/lib.rs:46:37
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub const fn named_field_checked<T: const StructDefine>(
[INFO] [stdout]    |                                     ^^^^^ can't be applied to `StructDefine`
[INFO] [stdout]    |
[INFO] [stdout] help: mark `StructDefine` as `const` to allow it to have `const` implementations
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub const trait StructDefine {
[INFO] [stdout]    |     +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0015]: cannot call non-const associated function `<T as StructDefine>::named_field` in constant functions
[INFO] [stdout]   --> src/lib.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 43 |     <T as StructDefine>::named_field(field)
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: associated function `named_field` is not const because trait `StructDefine` is not const
[INFO] [stdout]   --> src/lib.rs:37:1
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub trait StructDefine {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^ this trait is not const
[INFO] [stdout] 38 |     fn named_field(field: &'static str) -> usize;
[INFO] [stdout]    |     --------------------------------------------- this associated function is not const
[INFO] [stdout]    = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
[INFO] [stdout] help: consider making trait `StructDefine` const
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub const trait StructDefine {
[INFO] [stdout]    |     +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0015]: cannot call non-const associated function `<T as StructDefine>::named_field_checked` in constant functions
[INFO] [stdout]   --> src/lib.rs:50:5
[INFO] [stdout]    |
[INFO] [stdout] 50 |     <T as StructDefine>::named_field_checked(field, message)
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: associated function `named_field_checked` is not const because trait `StructDefine` is not const
[INFO] [stdout]   --> src/lib.rs:37:1
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub trait StructDefine {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^ this trait is not const
[INFO] [stdout] 38 |     fn named_field(field: &'static str) -> usize;
[INFO] [stdout] 39 |     fn named_field_checked(field: &'static str, message: &'static str) -> usize;
[INFO] [stdout]    |     ---------------------------------------------------------------------------- this associated function is not const
[INFO] [stdout]    = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
[INFO] [stdout] help: consider making trait `StructDefine` const
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub const trait StructDefine {
[INFO] [stdout]    |     +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0015`.
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `const_trait` in this scope
[INFO] [stdout]   --> src/lib.rs:36:3
[INFO] [stdout]    |
[INFO] [stdout] 36 | #[const_trait]
[INFO] [stdout]    |   ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::any`
[INFO] [stdout]  --> src/lib.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::any;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `reflection` (lib test) due to 5 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: `const` can only be applied to `const` traits
[INFO] [stdout]   --> src/lib.rs:42:29
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub const fn named_field<T: const StructDefine>(field: &'static str) -> usize {
[INFO] [stdout]    |                             ^^^^^ can't be applied to `StructDefine`
[INFO] [stdout]    |
[INFO] [stdout] help: mark `StructDefine` as `const` to allow it to have `const` implementations
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub const trait StructDefine {
[INFO] [stdout]    |     +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `const` can only be applied to `const` traits
[INFO] [stdout]   --> src/lib.rs:46:37
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub const fn named_field_checked<T: const StructDefine>(
[INFO] [stdout]    |                                     ^^^^^ can't be applied to `StructDefine`
[INFO] [stdout]    |
[INFO] [stdout] help: mark `StructDefine` as `const` to allow it to have `const` implementations
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub const trait StructDefine {
[INFO] [stdout]    |     +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0015]: cannot call non-const associated function `<T as StructDefine>::named_field` in constant functions
[INFO] [stdout]   --> src/lib.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 43 |     <T as StructDefine>::named_field(field)
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: associated function `named_field` is not const because trait `StructDefine` is not const
[INFO] [stdout]   --> src/lib.rs:37:1
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub trait StructDefine {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^ this trait is not const
[INFO] [stdout] 38 |     fn named_field(field: &'static str) -> usize;
[INFO] [stdout]    |     --------------------------------------------- this associated function is not const
[INFO] [stdout]    = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
[INFO] [stdout] help: consider making trait `StructDefine` const
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub const trait StructDefine {
[INFO] [stdout]    |     +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0015]: cannot call non-const associated function `<T as StructDefine>::named_field_checked` in constant functions
[INFO] [stdout]   --> src/lib.rs:50:5
[INFO] [stdout]    |
[INFO] [stdout] 50 |     <T as StructDefine>::named_field_checked(field, message)
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: associated function `named_field_checked` is not const because trait `StructDefine` is not const
[INFO] [stdout]   --> src/lib.rs:37:1
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub trait StructDefine {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^ this trait is not const
[INFO] [stdout] 38 |     fn named_field(field: &'static str) -> usize;
[INFO] [stdout] 39 |     fn named_field_checked(field: &'static str, message: &'static str) -> usize;
[INFO] [stdout]    |     ---------------------------------------------------------------------------- this associated function is not const
[INFO] [stdout]    = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
[INFO] [stdout] help: consider making trait `StructDefine` const
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub const trait StructDefine {
[INFO] [stdout]    |     +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0015`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `reflection` (lib) due to 5 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "a278ef1634524efb800b36b6a5b11ffece36035543567bbf6a95b4b26b326b44", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a278ef1634524efb800b36b6a5b11ffece36035543567bbf6a95b4b26b326b44", kill_on_drop: false }`
[INFO] [stdout] a278ef1634524efb800b36b6a5b11ffece36035543567bbf6a95b4b26b326b44
